<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .line  {
            width: 100%;
            height: 1px;
            background-color: black;
            transform: scaleY(0.5);
        }

        .line2  {
            width: 100%;
            height: 1px;
            box-shadow: 0 0.5px black;
        }
    </style>
</head>
<body>
    <div class="line"></div>

    <div class="line2"></div>
</body>
</html>